package cn.edu.jxust.common.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author QiuKangming
 * @version 1.0
 * @description 查询 Aqi 前端视图类
 * @since 2020/07/17 11:28
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AqiSearchVo {

    @NotNull(message = "监测设备id号不能为空")
    private Integer deviceId;

    @NotBlank(message = "查询 aqi 起始时间不能为空")
    private String beginTime;

    @NotBlank(message = "查询 aqi 结束时间不能为空")
    private String endTime;

    @NotBlank(message = "查询 aqi 类型(小时数据/日数据)不能为空")
    private String aqiType;

}
